package com.juneyao.bigdata.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author quanb
 * @date 2018-02-06
 * hbase 连接信息
 */
@ConfigurationProperties
public class HbaseProperties {

    /**
     * zk地址
     */
    @Value("${hbase.zookeeper.quorum}")
    private String quorum;

    /**
     * zk端口号
     */
    @Value("${hbase.zookeeper.property.clientPort}")
    private String zkPort;

    public String getQuorum() {
        return quorum;
    }

    public void setQuorum(String quorum) {
        this.quorum = quorum;
    }

    public String getZkPort() {
        return zkPort;
    }

    public void setZkPort(String zkPort) {
        this.zkPort = zkPort;
    }
}
